const { request } = require('./request.js');
module.exports = {
  //加入购物车，李四
  addCart: () => {

    return request('shop/goods/category/addCart', 'GET', '', true)

  },
  //添加收藏,李四
  addFav: (id) => {

    return request('shop/goods/addFav', 'GET', { id: id }, true)
  },
}